projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51cf3e3
)
* configure.in: Don't set CC to "gcc -O" if the user specifies
author
Jim Blandy
<jimb@redhat.com>
Sat, 10 Apr 1993 08:30:27 +0000
(08:30 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Sat, 10 Apr 1993 08:30:27 +0000
(08:30 +0000)
`--with-gcc'. Add -O to DEFS if GCC is set.
configure1.in
patch
|
blob
|
history
diff --git
a/configure1.in
b/configure1.in
index d9e02003f63c5a8f53a2364a2aab1276a8550ada..d02306cc8c9ae3d479b1a02134764b62dded995e 100755
(executable)
--- a/
configure1.in
+++ b/
configure1.in
@@
-781,14
+781,19
@@
compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
#### Choose a compiler.
DEFS=-g
case ${with_gcc} in
- "yes" ) CC="gcc
-O99
" GCC=1 ;;
- "no" ) CC="cc"
;;
+ "yes" ) CC="gcc" GCC=1 ;;
+ "no" ) CC="cc" ;;
* )
]
AC_PROG_CC
[
esac
+if [ "${GCC}" != "" ]; then
+ DEFS="${DEFS} -O"
+fi
+
+
#### Some other nice autoconf tests.
]
AC_CONST